package com.adtech.adms.device.pojo;

import java.sql.Timestamp;

/**
 * GuiHoststat entity. @author MyEclipse Persistence Tools
 */

public class GuiHoststat implements java.io.Serializable {

	// Fields

	private Integer id;
	private String hostname;
	private String hostIp;
	private Double cpuUsage;
	private Long freeMem;
	private Long ioRead;
	private Long ioWrite;
	private Long netSent;
	private Long netRecv;
	private Timestamp createDate;

	// Constructors

	/** default constructor */
	public GuiHoststat() {
	}

	/** full constructor */
	public GuiHoststat(String hostname, String hostIp, Double cpuUsage,
			Long freeMem, Long ioRead, Long ioWrite, Long netSent,
			Long netRecv, Timestamp createDate) {
		this.hostname = hostname;
		this.hostIp = hostIp;
		this.cpuUsage = cpuUsage;
		this.freeMem = freeMem;
		this.ioRead = ioRead;
		this.ioWrite = ioWrite;
		this.netSent = netSent;
		this.netRecv = netRecv;
		this.createDate = createDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getHostname() {
		return this.hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public String getHostIp() {
		return this.hostIp;
	}

	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}

	public Double getCpuUsage() {
		return this.cpuUsage;
	}

	public void setCpuUsage(Double cpuUsage) {
		this.cpuUsage = cpuUsage;
	}

	public Long getFreeMem() {
		return this.freeMem;
	}

	public void setFreeMem(Long freeMem) {
		this.freeMem = freeMem;
	}

	public Long getIoRead() {
		return this.ioRead;
	}

	public void setIoRead(Long ioRead) {
		this.ioRead = ioRead;
	}

	public Long getIoWrite() {
		return this.ioWrite;
	}

	public void setIoWrite(Long ioWrite) {
		this.ioWrite = ioWrite;
	}

	public Long getNetSent() {
		return this.netSent;
	}

	public void setNetSent(Long netSent) {
		this.netSent = netSent;
	}

	public Long getNetRecv() {
		return this.netRecv;
	}

	public void setNetRecv(Long netRecv) {
		this.netRecv = netRecv;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

}